remove `getFileData` sine it's deprecated