finish the example of fileinfo