Removed unneeded casts to FileDisplayActivity