def Fname_data(Fpath):
    """ takes both pulse data file names and h5 file names and returns UTC_time, station_name, Fpath"""
    Fname = Fpath.split('/')[-1]
    data = Fname.split('_')
    timeID = data[1]
    station_name = data[2]
    
    if len(data[3][1:])==0:
        file_number = 0
    else:
        file_number = int(data[3][1:])
    
    return timeID, station_name, Fpath, file_number