Improved the code completion for files