def get_file_length(file_path):
    """
    This function gets a file path and returns its length without reading it

    :param file_path: path to return length of
    :type file_path: str
    :return: file length (in bytes)
    :rtype: int
    """
    with open(file_path, 'rb') as f:
        f.seek(0, 2)
        file_len = f.tell()
    return file_len
