remove extension from filename