@RequestMapping(value="/image/upload", method=RequestMethod.POST)
    @ResponseStatus(value = HttpStatus.OK)
    public  void handleFileUpload(@RequestParam("hashTagText") String hashTagText,
                                                 @RequestParam("file") MultipartFile file,
                                                 @RequestParam("timeStamp") String timeOfCapture,
                                                 @RequestParam("fbToken") String fbToken,
                                                 @RequestParam("location") String formattedLocation){

        String fileName = StringUtils.EMPTY;
        if (!file.isEmpty()) {
            try {
               fileName =  imageStore.writeFile(file.getBytes());
            } catch (ImageToOldException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            }
            imageStore.storeImage(fileName,hashTagText,timeOfCapture,fbToken,formattedLocation);
        }
    }