Fix #49 round two - filename to resource name conversion.