Move file_read into file.{c,h}