Removed debug printout
Added system exits if there is any exceptions while reading files