terminating queue when done
added file writing job