git ignore file to ignore swap files
Added embedded function to read single id file