import os


class FileHelper:

    @staticmethod
    def DeleteFile(path):
        if os.path.isfile(path):
            os.remove(path)
        # elif os.path.isdir(path):
        #     shutil.rmtree(path)  # remove dir and all contains
        else:
            pass
            # raise ValueError("file {} is not a file or dir.".format(path))
