Quick access to the file extension
String get extension { try { return name.split('.').last; } catch (e) { throw NearbyServiceException('Can\'t get extension from $name'); } }