implement of FileLoader