JSON Model, Rename file if exist (upload), file type limitation in upload