file info utility and test