Refactoring watcher. Now, it receives a file from command line and print some information