link files to the right place