BUGFIX: Setting allowed max file number.