def _get_station_file(path_name, station, channel, debug=<NUM_LIT:0>):
wavfiles = glob.glob(path_name + os.sep + '<STR_LIT:*>')<EOL>out_files = [_check_data(wavfile, station, channel, debug=debug)<EOL>for wavfile in wavfiles]<EOL>out_files = list(set(out_files))<EOL>return out_files<EOL>
Helper function to find the correct file.

:type path_name: str
:param path_name: Path to files to check.
:type station: str
:type channel: str

:returns: list of filenames, str