Allowed for the flexibility to accept either a file path string, SplFileInfo
instance, or SplFileObject as the argument to the file parser methods.