allow skip file/handle nullpointer in parsing