Recreating file after getting erased.