@staticmethod
def extension_from_path(path):
    """Return the extension of the file from the file path

        Parameters
        ----------
        path: str
            path to the results file
        """
    extension = path.split('.')[-1]
    return extension
