improved CompileFile()
refact Rename()