Update Javadoc.
Change fid to fileId to be consistent.