updated LocalDriver and BasicFileUtility to be feature identical to TSFE's implementation