added in ability to read file path and ability to convert path to id; fixed tests