Functionify filereading