add default clause to switch statement albeit technically superflous
use boost filesystem specialization instead of the ones from std