Minimising the files