added various file types, symbolic, regular file and socket