def trim_song(tracks_file):
    """ Remove the first song from file. """
    with open(tracks_file, 'r') as file_in:
        data = file_in.read().splitlines(True)
    with open(tracks_file, 'w') as file_out:
        file_out.writelines(data[1:])
    return data[0]
