add method to get number of file parts