fix getFile mistake