changing to getting list of ids for a filename