Added ability to not delete file