simplify code for removing a file

Refs #19 

There was a kludgy method for removing files but is no longer needed.