def read_file_version(file):
    """Read a version from a file.
    
    Args:
        file: Name of the file to read. Assumed to. be relative to this script.

    Returns:
        Version string from the file."""

    with open(file, "r") as handle:
        return handle.read().split("\n")[0]