Gh394 git history

#394
no need to cast to File, remove everywhere