Added `exclude` feature to globFiles function