Fix . in filepath