Fix bug reseting file_or_options to nil