implement .file_contents