minor changes. Checks if file already exists. relies on TR2 filesystem now (sorry GCC / Clang)