def lines(file_path):
    """Returns all lines from a file.

    file_path -- path of the file to read
    """
    try:
        with open(file_path) as file:
            return file.readlines()
    except FileNotFoundError:
        raise FileNotFoundError(str(file_path) + " could not be found. Check the file path is correct.")