removing duplicate file def