set max file size to 10mb for saving files