Furthermore optimized code for moving files