use global var: for file size validation