Testing getting filename from dir