What if filepath is a directory?