rework getfile
return mtime and revision on file get