backward compatibility on finding file by id