code: protected File[] asFiles( File pDir, String[] pFileNames )
      {
          if ( pFileNames == null )
          {
              return new File[0];
          }
  
          File dir = asAbsoluteFile( pDir );
          File[] result = new File[pFileNames.length];
          for ( int i = 0; i < pFileNames.length; i++ )
          {
              result[i] = new File( dir, pFileNames[i] );
          }
          return result;
      }
docs: Converts the given set of file names into a set of {@link File} instances. The file names may be relative to the
  given base directory.