def load_file(filename, filepath, delimiter):
    """ Load file using given delimiter and return list object. """

    print(f"Loading file {filename}...")
    with open(filepath, 'r') as file:
        header = [filename.rsplit('.', 1)[0]]
        return header + [line.strip('\n').split(delimiter) for line in file.readlines()]