moveFilesToRoot

added code to this method