anonymized ls_opts and made file_path global