File check in xml and some style tweaks