Dealt with problem of white spaces in uploaded file names.
Fixed so that the file list is reloaded when a new file is uploaded