/*------------------FILE--------------------*/
@With ({UserCredentialWrapFilter.class,ConnectToDBFilter.class})
public static Result storeFile() throws Throwable {
MultipartFormData body = request().body().asMultipartFormData();
if (body==null) return badRequest("missing data: is the body multipart/form-data? Check if it contains boundaries too! " );
//FilePart file = body.getFile(FILE_FIELD_NAME);
List<FilePart> files = body.getFiles();
FilePart file = null;
if (!files.isEmpty()) file = files.get(0);
String ret="";
if (file!=null){
Map<String, String[]> data=body.asFormUrlEncoded();
String[] datas=data.get(DATA_FIELD_NAME);
String[] acl=data.get(ACL_FIELD_NAME);
/*extract attachedData */
String dataJson=null;