parse name depending on if it has '/' in the name, indicating format (i hope)