file mv implementation