If "files" could be ""null, there will be an exception three lines above.

+    String[] rtn = new String[files.length];