Ignore directories when using expand