1) using boost filesystem library to list files in a directory instead of platform dependent way