changed file paths to the function get_data()