Put files in correct order