raise NOT_FOUND error if file does not exist