Autoloader class with file cashing