Verify if the file exists to prevent duplication.