using fileInfo Object and set #DEFAULT case