Prepare files for submition