neutronpy.fileio.
detect_filetype
Simple method for quickly determining filetype of a given input file.
File path
The filetype of the given input file