added support for c files