move the revmoe file function to hurricane_generator