Use file instead of directory. The later one resulted in a build error..