Better check if device files exist, which works on both Lollipop and older versions of Android