fix folder class and add file class