Add phpdoc for file method.
Merge pull request #271 from cyberwolf/missingfilecommanddoc

Add phpdoc for file method.