read date from path and insert; closes #36