find and replace file creation