Fixed Lint warnings

I have fixed some Lint warning which reduced the complexity of the file.xml and the FileListAdapter.