work with jasmine test when creating files