with empty file parsing