Added Tests for extractFileInfo