Added timeout and max file size.