Java file movement code