Abstracted the FileLoader loading method to getFile()