Stripping filename and using that as the key for the translation