populates the filemap to hold the files to be shared by this machine . concode_field_sep TCPConnection connectionToServer concode_elem_sep FileMapping fileMap concode_elem_sep boolean closed concode_field_sep void sendAvailableFilesToServer concode_elem_sep Set<String> getAvailableFiles concode_elem_sep FileMapping getFileMapping concode_elem_sep void checkFileExists concode_elem_sep void cleanup concode_elem_sep String getNodeWithFile concode_elem_sep void updateInputFiles concode_elem_sep String getFileLocation concode_elem_sep void requestFile concode_elem_sep void updateServerFiles
void function ( ) { File loc0 = new File ( ApplicationFields . getInputDirectory ( ) ) ; File [ ] loc1 = loc0 . listFiles ( ) ; for ( File loc2 : loc1 ) { fileMap . addFile ( loc2 . getName ( ) , loc2 . getPath ( ) ) ; } }