File loader

Added a file loader that can load many types of files.