Weird... I think you could use `sub_filename` instead `sub_id ` above. This operation is redundant.