def getParentFolder(inputFile):
    """
    returns the parent folder for any file
    """
    parentFolder = '/'.join(inputFile.split('/')[:-1]) + '/'
    if parentFolder == '':
        return './'
    else:
        return parentFolder
