organise the files to put in