removed not-needed boolean from use_file. fixed err message.