Creating files in their original directory