WM_file_read must support background mode already since it can be called by Python scripts in background mode.