Fixed relavtive filename bug