Added method to allow customizing the ExecutorService used by the Queue.
Code improvements in File.java