Remove '.class' form file extensions