def atoms_to_xyz_file(atoms, filename, title_line=''):
    """
    Print a standard .xyz file from a set of atoms

    :param atoms: (list(Atom))
    :param filename: (str)
    :param title_line: (str)
    """

    with open(filename, 'w') as xyz_file:
        print(len(atoms), title_line, sep='\n', file=xyz_file)
        for atom in atoms:
            x, y, z = atom.coord
            print(f'{atom.label:<3} {x:^10.5f} {y:^10.5f} {z:^10.5f}',
                  file=xyz_file)

    return None