read_file function

Read file