changes file path to other directory