arrange path of file