def naming_convention(data_path, sample, source_number, setup, pointing, mod):
    """
    Naming convention for files which starts with type of file and is followed
    by details about the source and setup, in order: parent sample, setup, 
    pointing and source number. 
    """
    return (
        f"{data_path}/{mod}.{sample}.{setup}.{pointing}.{source_number.astype(int):03d}"
    )