add format support to paths