fixed cmdfile reading