the reader function is complete
moved files and finished the reader function