update phpdoc for public fileapi