set up files in public directory