test removal of a file