improved cleanData method for getting file data transfered via AJAX