editing file for submission