Added and fixed files logic
added files