Use read_file_info/2 with {time, universal} option