Implemented getFileList method