Add 'copy file path' command and improve a little the existing code.