sending file_name and file_type aswell to the server
fixed requeststring