Automates folder organising functions