based on ccnputfile