fixed bug that occurs when no saved file exists and added checkbox for excluding existing records