Why was ngCordova file plugin listDir function removed?

I was using ngCordova v0.1.12-alpha and used the listDir function in the file plugin to check the files i downloaded in my app.
When i updated ngCordova i noticed that this function was commented out in the code. Are there any reasons for this? How can i list my files now?

There isn’t any official release regarding this change, but there’s a walk around, simply uncomment that segment, it will work just fine.