extracted source from local dir