question: public static Iterable < File > applyCwd ( File cwd , Iterable < File > files ) { if ( files != null ) { List < File > result = new ArrayList < File > ( ) ; for ( File f : files ) { result . add ( applyCwd ( cwd , f ) ) ; } return result ; } else { return null ; } }
target:  Given an Iterable of files and a "current working directory" returns an Iterable where the files that were relative are now absolute after having the "CWD" applied to them as their parent directory. Files in the list that were already absolute are returned unmodified.