Added a new method for return all pending files

Also implement a method to be called inside mumufriend.