fix path and filename problems
early progress 2014-jun-26