Fixed minor bug to do with submitting for one file