Ignore editor and vagrant dot directories
Test extracting function