add toString method to file_info to facilitate equality checks as file_info is a value object