Fixed missing end
Removed unused file