added parseId and parsePath methods
modified files interface