Add constructor to only allow a File to be constructed for files.