update to ignore ".java~" files
better error message - include line number the file is curruped