Added handling of RAW files.