Func to get file attributes, beginning of date work