changed faulty argument that gave useless result
Added handling for creating destination folder if not exists, failing if file there