no error if file is not selected