added allowFileAjax option