removed deletion of file, should be thrown into a queue instead