commented out open file detection