still testing file iteration fuctions