Fix NPE in loadFiles servlet