GetFileName moved to lib