modify to not delete file