Added checks for file api support

A browser without file api support, like IE9, throws an error when anything but the constructor is called, this change will fix all of the scenarios.