Added a file_info method.