Corrected the filename for submission via qsub from the open file to a string