Issue #4: modified selector in open-file function.