anchor.diff:  
   
   void _formatFile(file) {
  -  Uri.parse(file).pathSegments.last;
  -  print(file.path);
     if (_isDartFile(file)) {
       try {
         var buffer = new StringBuffer();
  
positive.code:   }
  }
  
  //TODO(pquitslund): fix this using 'path'
  _isDartFile(file) => !file.path.startsWith('.') && file.path.endsWith(DART_EXT);
  
  _formatStdin(options) {
    _log('not supported yet!');
  
negative.code: import 'dart:io';
  
  import 'package:args/args.dart';
  import 'package:path/path.dart' as path;
  
  import 'package:analyzer_experimental/src/services/formatter_impl.dart';
  
  
  const BINARY_NAME = 'dartfmt';
  final dartFileRegExp = new RegExp(r'^[^.].*\.dart$', caseSensitive: false);
  final argParser = _initArgParser();
  
  void main() {
  