Refactor model
Delete temporary file