made a function get_num_of_files