filecopy/ls refinement