def filter_stations(file_paths, filter_impl):
    """
    Loops through the stations, reads only the first row of data and applies filter
    :param file_paths: list of file paths to process
    :param filter_impl: function, which returns true or false. You should write your own version.
    :return:
    """
    fps = []
    for file_path in file_paths:
        # print(file_path)
        if filter_impl(file_path):  # make sure that filter is computationally efficient
            fps.append(file_path)
    return fps