added -l option
fixed a bug where the creation of a destination directory (option -p) would not move the file