made file reading its own function.
forgot an import