some refactoring :green_book:

* Moved file names to the front
* Moved generating a submission file to a separate script