stubbed function for getting next file