fixed getFile

The file id should be from the server, not the local cached id