remove raise error for file