Optimisation of Theses for Digital Repository