ifdtool: Check if file was opened