First try to manage files and directory