updated ismusicfile method