implemented cat method; fixed issue with _resolve_path