file limit handling