.files shamelessly taken from s10wen and modified a little bit.