Added file number limitations