def getScriptName(programName):
    """
    Splits a given string suspected to be a file name and returns the prefix with out the file extension.
    Args:
        programName: String file name candidate.

    Returns: prefix of file.
    """
    # Script name
    scriptName = programName.split('.')[0].upper()
    return scriptName