Improve getFile interface
Add more space