replace all files which are only represented as String with java.io.File