Read a file.