add file_info command support and test