Since now read_file is being used I guess it isn't needed anymore, can be deleted?