making downloads directory a parameter for listener and watcher