add file limit validation