made it so tests on creating files delete file at the end (other wise the test would be poinless)