Change options

Change from dictionnary to list because of multiple flags2 options
Escape files path to handle spaces
Rename main file
Re-write of list_files_in_dir