Fix a bug that getting a file may fail in case of handling a very large file