fix typo in amount_of_files and switch to chrome active after opening