Improved support for 4D files