Added support for dia,svg and eps file uploads