Currently these routines number two: file type checking based on a file's name, and source file checking, also based on the file's name.