Added a more efficient check if a opened file is a valid input file
Added a more efficient check if a opened file is a valid input file

sciapp/pyMolDyn,sciapp/pyMolDyn,sciapp/pyMolDyn,sciapp/pyMolDyn,sciapp/pyMolDyn