File - Added diskQuota && fileSize check, fixed some bugs